﻿using MengLin.OOP.DesignPattern.Interface.ThreeCountry;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MengLin.OOP.DesignPattern.ThreeCountry.AbstractFactory
{
    /// <summary>
    /// 产品簇扩展方便
    /// 工厂职责不能扩展(如：创建军师)
    /// </summary>
    public abstract class AbstractFactory
    {
        /// <summary>
        /// 创建主公
        /// </summary>
        /// <returns></returns>
        public abstract IZhuGong CreateZhuGong();

        /// <summary>
        /// 创建武将
        /// </summary>
        /// <returns></returns>
        public abstract IWuJiang CreateWuJiang();

        /// <summary>
        /// 创建军师
        /// </summary>
        /// <returns></returns>
        //public abstract IJunShi CreateJunShi();
    }
}
